package com.cx.mall.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

//这是一个SpringBoot应用,同时禁用数据源的自动配置
@SpringBootApplication
@MapperScan(basePackages = {"com.cx.mall.demo.dao"})
@EnableAspectJAutoProxy
public class MallDemoApplication {
    public static void main(String[] args) {
        //启动应用
        SpringApplication.run(MallDemoApplication.class, args);
    }
}
